/**
 * Create in 2012-4-26.
 */
package kit4j.common.lang.time;

import java.util.Date;

/**
 * 
 * @author MiniKnife
 *
 */
public class SecondsTimeUnitStrategy implements TimeUnitStrategy {
	
	private static final long millisecondsPerSecond = 1000;

	/**
	 * @see kit4j.common.lang.time.TimeUnitStrategy#nextTime(java.util.Date)
	 */
	@Override
	public Date nextTime(Date originTime) {
		return new Date(originTime.getTime() + millisecondsPerSecond);
	}

}
